public class User {
    private String account;
    private String password;
    private String email;
    public User(String account,String password){
        this.account=account;
        this.password=password;
        this.email=" ";
    }
    public User(String account,String password,String email){
        this.account=account;
        this.password=password;
        this.email=email;
    }
    public void showUser(){
        System.out.println("账号: " + account);
        System.out.println("密码: " + password);
        System.out.println("邮箱: " + email);
    }
    public static void main(String[] args) {
        User user1 = new User("人机1号", "aaaaaa");
        user1.showUser();
        User user2 = new User("人机2号", "bbbbbb","222@qq.com");
        user2.showUser();}
}
